<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>发射机详情</title>
    <link th:href="@{../../component/pear/css/pear.css}" rel="stylesheet">

    <script th:src="@{../../component/layui/layui.js}"></script>
    <script th:src="@{../../component/pear/pear.js}"></script>
</head>
<style>
    .layui-form-label {
        width: 200px !important;
        text-align: left !important;
    }

    .layui-form-item .layui-input-inline {
        width: 200px !important;
        margin-bottom: 0px !important;
    }

    .layui-form-item-te {
        margin-bottom: 0px !important;
    }
</style>
<body class="pear-container">
    <div class="layui-card">
            <form class="layui-form layui-form-pane" action="" id="tranform"  lay-filter="tranform">
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 5%;">
                    <label class="layui-form-label" style="width: 7%">台站ID</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="stationCode" name="stationCode" autocomplete="off" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">发射机ID</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="transCode" name="transCode" autocomplete="off" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">发射机通道号</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <select id="taskId" name="taskId" lay-verify="required"  >
                            <option value="0">通道0</option>
                            <option value="1">通道1</option>
                            <option value="2">通道2</option>
                            <option value="3">通道3</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 1%;">
                    <label class="layui-form-label" style="width: 7%">任务开始时间</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="sendDateTime" name="sendDateTime" autocomplete="off" placeholder="yyyy-MM-dd HH:mm:ss" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">任务结束时间</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="sendDateEndTime" name="sendDateEndTime" autocomplete="off" placeholder="yyyy-MM-dd HH:mm:ss" lay-verify="required" readonly >
                    </div>
                    <label class="layui-form-label" style="width: 7%">操作类型</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <select id="operType" name="operType" lay-verify="required"  >
                            <option value="1">新增</option>
                            <option value="2">替换/修改</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 1%;">
                    <label class="layui-form-label" style="width: 7%">工作频率(3200~26100HZ)</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="channelFreq" name="channelFreq" autocomplete="off" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">通道状态</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <select id="channelRfChState" name="channelRfChState" lay-verify="required"  readonly>
                            <option value="0">开</option>
                            <option value="1">关</option>
                        </select>
                    </div>
                    <label class="layui-form-label" style="width: 7%">跳频时隙(0 ~ 50)</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="channelTimeSlot" name="channelTimeSlot" autocomplete="off" readonly>
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 1%;">
                    <label class="layui-form-label" style="width: 7%">输出功率(0~+200)</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="channelEqualization" name="channelEqualization" autocomplete="off" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">调制模式</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <select id="channelRfChMod" name="channelRfChMod" lay-verify="required"  readonly>
                            <option value="0">单音</option>
                            <option value="1">AM</option>
                            <option value="2">FM</option>
                        </select>
                    </div>
                    <label class="layui-form-label" style="width: 7%">调制宽度(1000hz-4000hz)</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="channelRfChBand" name="channelRfChBand" autocomplete="off" readonly>
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 1%;">
                    <label class="layui-form-label" style="width: 7%">音源</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <select id="channelRfChASource" name="channelRfChASource" lay-verify="required" readonly >
                            <option value="0">白噪声</option>
                            <option value="1">1k单音</option>
                            <option value="2">外部音源</option>
                            <option value="3">静音</option>
                            <option value="4">文件白噪声</option>
                            <option value="5">文件打击乐</option>
                            <option value="6">播放URL音频</option>
                        </select>
                    </div>
                    <label class="layui-form-label" style="width: 7%">音源地址</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="channelRfChAUrl" name="channelRfChAUrl" autocomplete="off" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 7%">发送时间</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="sendTime" name="sendTime" autocomplete="off" placeholder="yyyy-MM-dd HH:mm:ss" readonly>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block" style="text-align: center; margin-right:10%;padding-top: 5%;">
                        <button class="layui-btn" th:type="button" lay-filter="closeTransmiter" onclick="closeDetail()">
                            关闭
                        </button>
                    </div>
                </div>
            </form>
    </div>

    <script>
        layui.use(['table', 'form', 'jquery', 'popup'], function () {
            let table = layui.table;
            let $ = layui.jquery;
            let popup = layui.popup;
            let MODULE_PATH = "/system/program/";

            window.closeDetail = function() {
                window.parent.location.reload();
                varindex = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            }

        })

    </script>
</body>
</html>
